// Sunghan Cho
// 301140084
// sunghanc@sfu.ca

#ifndef SELECTEDSTUDENTLISTMODEL_H
#define SELECTEDSTUDENTLISTMODEL_H

#include <QObject>
#include <QAbstractTableModel>
#include "itemlistmodel.h"
#include "course.h"
#include "student.h"
#include "itemmanager.h"

class SelectedStudentListModel : public ItemListModel
{
    Q_OBJECT
public:
    explicit SelectedStudentListModel(QObject* parent = 0);
    SelectedStudentListModel(ItemManager* pItemManager, QObject* parent = 0);

protected:
    Course* m_pSelectedCourse;
    bool shouldIncludeInList(Item* pNewItem);
public slots:
    void setSelectedCourse(Item* pItem);
};

#endif // SELECTEDSTUDENTLISTMODEL_H
